<?php
session_start(); // Démarrage de la session  ATTENTION TOUJOURS LA PREMIERE LIGNE DU FICHIER

// Liste des variables
include_once $_SERVER['DOCUMENT_ROOT'].'/lib/variables.php';
include_once $_SERVER['DOCUMENT_ROOT'].'/lib/outils.php';

// Connection à la base
require $REP_CLASS . 'AssocPDO.php';
$db = new AssocPDO();

// navigateur
if ((strstr ($_SERVER["HTTP_USER_AGENT"],"MSIE 5") || strstr ($_SERVER["HTTP_USER_AGENT"],"MSIE 6")) && !strstr ($_SERVER["HTTP_USER_AGENT"],"MSIE 7"))
{     // Internet Explorer 5 ou 6
	$NAVIGATEUR="IE6";
} else
{     // Autres navigateurs
	$NAVIGATEUR="MOZ";
}

if ($NAVIGATEUR=="MOZ")
{
	$stylePng="background:transparent url(/images/";
	$stylePngScale="background:transparent url(/images/";
}
else
{
	$stylePng="background-image: none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop src=/images/";
	$stylePngScale="background-image: none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src=/images/";
}


?>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<link rel="stylesheet" type="text/css" href="/css/assoc.css">
<script type="text/javascript" src="/js/panel.js"></script>
<script type="text/javascript" src="/js/outils.js"></script>
<script type="text/javascript" src= "/js/prototype.js"></script>
<script type="text/javascript" src= "/js/effects.js"></script>

<!--[if lt IE 7.]>
<script defer type="text/javascript" src="/js/pngfix.js"></script>
<![endif]-->
